package com.blacksheep.mtm.service;

import com.blacksheep.mtm.pojo.common.DataTablesResult;
import com.blacksheep.mtm.pojo.manager.TbOrderItem;

import java.util.List;

public interface OrderItemService {


    /**
     * 获得订单列表
     * @param draw
     * @param start
     * @param length
     * @param search
     * @param orderCol
     * @param orderDir
     * @return
     */
    DataTablesResult getList(int draw, int start, int length, String search, String minDate, String maxDate, String orderCol, String orderDir);

    int deleteBatch(String[] ids);

    List<TbOrderItem> getListByOrderId(String orderId);
}
